#{extends 'include/base.html' /}
#{set title:'动态' /}
<div class="work_nav">
    <ul>
        <li><a href="@{Concerns.concernTrend()}">关注动态</a></li>
        <li class="work_nav_active"><a href="@{Concerns.myTrend()}">我的动态</a></li>
        <li ><a href="@{Concerns.concernMe()}">谁关注了我</a></li>
    </ul>
</div>
<div class="simple_wrap">
    <ul class="path_nav">
        <li class="path_index"><a href="@{Application.index(0)}">首页</a></li>
        <li>><a href="@{Members.home()}">个人中心</a></li>
        <li>><a href="@{Concerns.concernMe()}">关注</a></li>
        <li>>谁关注我</li>
    </ul>

    <ul class="work_main_nav">
        <li><a href="@{Concerns.myTrend(0)}">动态</a></li>
        <li><a href="@{Members.work(0)}">我的作品</a></li>
        <li><a href="@{Concerns.myConcern(0)}">关注</a></li>
        <li><a href="@{Collections.collectWork(0)}">收藏</a></li>
    </ul>
    <div class="clear"></div>
    <p class="nav_path_title">我的动态</p>
#{if webServiceBean.data.size==0}
    <h3 class="no_content">暂时还没有内容</h3>
#{/if}
    <ul class=work_wrap>
    #{list items:webServiceBean.data, as:"item"}
        #{if item.type==1}
            <li><div class="work_img"><a href="@{Application.article(item.trendId)}"><img src="${item.url}" alt=""/></a></div><div class="work_info"><h3><a href="@{Application.article(item.trendId)}">${item.authorName}</a></h3><div>${item.content.raw()}</div><p class="num_work_p"> 评论数<span>${item.num}</span></p></div></li>
        #{/if}
        #{if item.type==0}
            <li><div class="work_img"><a href="@{Members.albumItem(0,item.trendId)}"><img src="${item.url}" alt=""/></a></div><div class="work_info"><h3><a href="@{Members.albumItem(0,item.trendId)}">${item.authorName}</a></h3><div>${item.content.raw()}</div><p class="num_work_p"> 文章数<span>${item.num}</span></p></div></li>
        #{/if}    #{/list}
    </ul>
    <div class="clear"></div>
#{page1 pageBean: pageBean, params : params/}
</div>




</div>